Report an error for an implicit implementation of an inaccessible interface members#61717
Report an error for an implicit implementation of an inaccessible interface members#61717AlekseyTs merged 6 commits intodotnet:mainfrom
Conversation
…erface members Closes dotnet#60885.
|
@dotnet/roslyn-compiler Please review. |
3 similar comments
|
@dotnet/roslyn-compiler Please review. |
|
@dotnet/roslyn-compiler Please review. |
|
@dotnet/roslyn-compiler Please review. |
| bool suppressRegularValidation = false; | ||
|
|
||
| if (!canBeImplementedImplicitlyInCSharp9 && interfaceMember.Kind == SymbolKind.Method && | ||
| (object)implementingBaseOpt == null) // Otherwise any approprite errors are going to be reported for the base. |
|
@dotnet/roslyn-compiler For the second review. |
|
@dotnet/roslyn-compiler For the second review. |
|
Probably needs a corresponding spec update as well. |
|
@dotnet/roslyn-compiler For the second review. |
|
@333fred, @RikkiGibson, @dotnet/roslyn-compiler For the second review. |
|
|
||
| private void ValidatePropertyModifiers_11_02(string source1, string source2, | ||
| DiagnosticDescription[] expectedIn9, | ||
| params DiagnosticDescription[] expectedAccrossAssemplyBoundaries) |
There was a problem hiding this comment.
expectedAccrossAssemplyBoundaries -> expectedAcrossAssemblyBoundaries
There was a problem hiding this comment.
Worth doing a find/replace across the entire file, this was copy/pasted a few times.
333fred
left a comment
There was a problem hiding this comment.
LGTM (commit 2), minor spelling mistake.
Closes #60885.